<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich">

<body>
<ui:composition template="../templates/template.xhtml">

    <ui:define name="titre"></ui:define>
    <ui:define name="zone1">
    	<div class="form">
    		<h:panelGroup layout="block">
    			<h:form id="form">
    				<h:messages id="messages" warnClass="msgWarn" errorClass="msgError" infoClass="msgInfo"
						globalOnly="true" />
					<h:panelGrid columns="2" columnClasses="tabline1, tabline2" styleClass="spanelTable">
						<h:panelGroup>
							<h:outputLabel value="Rencontre avec " for="rencontreavecTxt" id="rencontreavecLabel" styleClass="label"/>
						</h:panelGroup>
						<h:panelGroup>
							<h:inputText value="#{GestionInscriptionControleur.modele.rencontre.hote}" id="rencontreavecTxt" 
								required="true"  />
							<h:message id="msgrencontreavecTxt" for="rencontreavecTxt" errorClass="msgError"/>
						</h:panelGroup>
						<h:panelGroup>
							<h:outputLabel value="Sujet" for="sujetTxt" id="sujetLabel" styleClass="label" />
						</h:panelGroup>
						<h:panelGroup>
							<h:inputText value="#{GestionInscriptionControleur.modele.rencontre.objet}" id="sujetTxt" 
								required="true" />
							<h:message id="msgsujetTxt" for="sujetTxt" errorClass="msgError"/>
						</h:panelGroup>
						<h:panelGroup>
							<h:outputLabel value="Compte rendu" for="crTxt" id="crLabel" styleClass="label" />
						</h:panelGroup>
						<h:panelGroup>
							<h:inputTextarea id="crTxt" value="#{GestionInscriptionControleur.modele.rencontre.cr}" style="width:600px; height:200px" />
							<h:message id="msgcrTxt" for="crTxt" errorClass="msgError"/>
						</h:panelGroup>	
					</h:panelGrid>
					<div id="boutons">
						<h:commandLink value="Valider" styleClass="btValider" action="#{GestionInscriptionControleur.enregistrerContact}" />
					</div>
    			</h:form>
    		</h:panelGroup>
    	</div>
    </ui:define>
</ui:composition>
</body>
</html>